﻿using QDasTransfer.Forms;
using QDasTransfer.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace QDasTransfer
{
	public partial class MainForm : Form
	{
		TaskManagementControl taskContronl = new TaskManagementControl();
		UserControl currentControl = null;
		public MainForm()
		{
			InitializeComponent();
		}



		private void tiTaskManager_Click(object sender, EventArgs e)
		{
			currentControl = taskContronl;
			currentControl.Dock = DockStyle.Fill;
			mainPanel.Controls.Clear();
			mainPanel.Controls.Add(currentControl);
		}

		private void tiCommonConfiguration_Click(object sender, EventArgs e)
		{
			ConfigForm cf = new ConfigForm();
			cf.ShowDialog();
		}
	}
}
